package co.yixiang.modules.system.dto;

import lombok.Data;
import lombok.experimental.Accessors;
import lombok.Builder;
import lombok.NoArgsConstructor;
import lombok.AllArgsConstructor;
import java.time.LocalDateTime;
import java.math.BigDecimal;
import java.io.Serializable;

/**
* @author db
* @date 2020-10-22
*/
@Data
@Accessors(chain = true)
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class MainIncomeDto implements Serializable {

    private Integer id;

    /** 关联合伙人 id */
    private Integer userId;

    /** 总收益 */
    private BigDecimal totalIncome;

    /** 今日收益 */
    private BigDecimal todayIncome;

    /** 昨日收益 */
    private BigDecimal lastIncome;

    /** 本月收益 */
    private BigDecimal monthIncome;

    /** 创建时间 */
    private LocalDateTime createDate;

    /** 修改时间 */
    private LocalDateTime updateDate;
}
